import request from '@/api/request'

// 获取角色列表
export function getMenu(type) {
  return request({
    url: '/menus',
    method: 'get',
    params: {
      type: type
    }
  })
}